<center>
<table width="220" border="0" cellpadding="2">
<tr>
<td align="center">

	<a href="<{$myurl}>/"><img src="<{$myurl}>/images/logo.gif" alt="" /></a>

</td>
</tr>
<tr>
<td align="left">

	<div style="margin:12px 6px;">
		<a href="<{$xoops_url}>/">SITETOP</a>
		<{foreach from=$xoops_breadcrumbs item="crumb" key=count}>
			&gt;&gt;
			<{if $crumb.url}>
				<a href="<{$crumb.url}>"><{$crumb.name}></a>
			<{else}>
				<{$crumb.name}>
			<{/if}>
		<{/foreach}>
	</div>

	<{if $postperm}>
	<hr />
		<a href="index.php?page=submit"><{$smarty.const._MD_FD_SUBMIT_DATA}></a>
	<hr />
	<{/if}>

	<form action="" method="get">
		<select name="ao" >
			<option value="0" <{if $ao==0}>selected="SELECTED"<{/if}> >AND</option>
			<option value="1" <{if $ao==1}>selected="SELECTED"<{/if}> >OR</option>
		</select>
		<input type="hidden" name="sf" value="0" />
		<{if $category && $cat_id>=0}>
			<input type="hidden" name="page" value="categ" />
			<input type="hidden" name="cat_id" value="<{$cat_id}>" />
		<{/if}>
		<input type="text" name="sq" size="25" maxlength="255" value="<{$sq}>" />
		<input type="submit" value="<{$smarty.const._SEARCH}>" />
	</form>

	<div style="margin:12px 0 16px 0; clear:both;"><{$lang_thereare}></div>

	<{if $flatdata != ""}>

		<!-- DATA -->
		<{foreach item=fd from=$flatdata key=count name=i}>
		<hr />
			[
			<{if $fd.embed_url}><a href="<{$fd.embed_url}>"><{/if}>
				<{$p+$count+1}>
			<{if $fd.embed_url}></a><{/if}>
			]
			[<a href="<{$myurl}>/index.php?did=<{$fd.did}>"><{$fd.did}></a>]
			<{if $isadmin}>
				&nbsp;<a href="<{$myurl}>/index.php?page=edit&amp;did=<{$fd.did}>"><{$smarty.const._EDIT}></a>
			<{/if}>
			<br />
			<{if $catTitleArr}>
				<a href="<{$myurl}>/index.php?page=categ&amp;cat_id=<{$fd.cat_id}>"><{if $fd.cat_id==0}><{$smarty.const._MD_FD_NONE}><{else}><{$catTitleArr[$fd.cat_id]}><{/if}></a><br />
			<{/if}>
			<{foreach item=f from=$fields}>
				<{if $f.mobile_visible==1}>
					<{$f.fname}> : <{$fd.data[$f.fid]}><br />
				<{/if}>
			<{/foreach}>
		<{/foreach}>

	<{/if}>

	<{if $navinfo && $nav}>
		<hr />
		<div><{$navinfo}></div>
		<div><{$nav}></div>
	<{/if}>

</td>
</tr>
<tr>
<td align="center">

	<hr />
	<a href="http://flatdata.neverever.xrea.jp/">FlatData / Never Ever</a>

</td>
</tr>
</table>
</center>
